import request from '@/utils/request'

// 分页
export function getList(params) {
  return request({
    url: '/outCompany/getList',
    method: 'POST',
    params
  })
}

// 添加
export function addOutCompany(data) {
  return request({
    url: '/outCompany/add',
    method: 'POST',
    data
  })
}

// 修改查询
export function selectOutCompany(params) {
  return request({
    url: '/outCompany/findId',
    method: 'POST',
    params
  })
}

// 删除
export function delOutCompany(data) {
  return request({
    url: '/outCompany/del',
    method: 'post',
    data
  })
}

// 修改
export function updateOutCompany(data) {
  return request({
    url: '/outCompany/update',
    method: 'post',
    data
  })
}
